home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 2
/
Wayzata's Best of Shareware 2.0 (Windows) (Wayzata Technology)(7112)(1994).bin
/
mac
/
DOS
/
GRAPHICS
/
SVIEW110
/
SVE.DOC
< prev
next >
Wrap
Text File
|
1992-09-17
|
12KB
|
298 lines
Shez Enhanced Viewer & Editor
VER 1.10
By
Terry Meritt
Date:
09/17/1992
If you like to use Shez and like to keep files compressed but still
have access to them I think you might like these programs. I you are
like me and collect GL and FLI animation files you know that these file
can take up a lot of hard drive space. Keeping them in compressed files
saves disk space but means that you have to extract them to view them.
You can setup alternate viewers in Shez by setting environment strings
for each file type that you want to be able to view. This is nice but
can be hard on memory if you want to be able to setup a lot of viewers.
This is why I wrote these programs.
File Desc:
SVE.EXE : Shez Alternate Viewer - Editor.
SVEDATMK.EXE : Program to make DAT files for SVE.
SVIEW.SMP : Example DAT File for viewing files.
SEDIT.SMP : Example DAT File for editing files.
SVE.DOC : This File.
Setup and Usage:
Copy all EXE files to a directory on the DOS path. If you have a
directory where SHEZ and the archive programs are located and this is on
the path, this is an good place to put the files. Also all of the viewers
that you are going to setup should be in the Path. On to specific file
setup. This is to setup the Alternate Viewer.
SVE.EXE : Shez Alternate 'Viewer' - Editor Program
Place the following command line in your AUTOEXEC.BAT file.
SET SHEZEV=SVE C:\ZIP\SVIEW.DAT $F
The "C:\ZIP\" is the path, drive and directory, of where the file
SVIEW.DAT resides. SVE must be told where to find the DAT file or it
will not work. The $F is where the filename of the file to view is
passed from Shez. If you are having problems with the Viewer make sure
that the $F is in caps. You can also setup SVE to be used as your normal
viewing program. This is ok for some file viewing but some such as
Grasp animations some times require more memory. Using <CTRL>-ENTER
and using the SHEZEV enviroment variable with Swapping enabled will
produce better results than just using ENTER.
╒═══════════════════════════[OTHER PROGRAMS TO USE]═══════~═════╕
│ ~ │
│ Edit-Program:SVE C:\ZIP\SEDIT.DAT ~ │
│ Program-parms: ~ │
│ ~ │
│ Viewing-Program:SVE C:\ZIP\SVIEW.DAT ~ │
│ Program-parms: ~ │
│ ~ │
│ Virus-Program:C:\ZIP\SCAN.EXE ~ │
│ Program-parms: ~ │
│Scan all files or executables only?A (A or E) ~ │
SVE.EXE : Shez Alternate Viewer - 'Editor' Program
For Editing the SVE must be set up using the SHEZCFG program.
Under program setup when you setup the editor to use enter the
following line.
SE C:\ZIP\SEDIT.DAT
The "C:\ZIP\" is the path, drive and directory, of where the file
SEDIT.DAT resides. SE must be told where to find the DAT file or it
will not work. Shez voluntarily passes the filename to be edited on the
command line. Here is a cut of what the screen for ShezCfg should look
like when done.
╒═══════════════════════════[OTHER PROGRAMS TO USE]═══════~═════╕
│ ~ │
│ Edit-Program:SE C:\ZIP\SEDIT.DAT ~ │
│ Program-parms: ~ │
│ ~ │
│ Viewing-Program:C:\ZIP\LIST.COM ~ │
│ Program-parms: ~ │
│ ~ │
│ Virus-Program:C:\ZIP\SCAN.EXE ~ │
│ Program-parms: ~ │
│Scan all files or executables only?A (A or E) ~ │
Suggestions for Shez Setup :
The Alternate viewer will work better if you enable the Shez
swapping options. All swapping options should be turned on. See the
docs that come the Shez to guide you in doing this.
Setting up DAT files :
SVEDATMK.EXE is used to create the DAT files for both SV and SE.
The syntax for using SVEDATMK is as follows.
SVEDATMK SVIEW.DAT : Make a DAT file for SV
SVEDATMK SEDIT.DAT : Make a DAT file for SE
Let's make a SVIEW.DAT file for the SVE.EXE program. First you must
change directory (CD) to the directory where you placed SVE.EXE and
SVEDATMK.EXE. In this case the ZIP directory on C drive. Then enter
the following command line.
C:\ZIP\>SVEDATMK SVIEW.DAT
When you run SVEDATMK you will be presented with the following lines.
Just press enter to quit
Enter File Extension to be searched for ( as GIF ) : _
You need to enter the file extension that you want to setup an alternate
viewer for. Such as GL for Grasp animation files.
Just press enter to quit
Enter File Extension to be searched for ( as GIF ) : gl_
After entering the extension you will see the following lines.
Do you want to change Directory when running Program <Y/N> : _
If the program requires that the file to be viewed or edited must be in
the current directory you should answer 'Y'. Most viewers this is not
needed and you should answer 'N'. If the program will not take the
filename on the command line but uses a selection menu to view files this
change of directory will solve the problems in viewing files of this type.
Do you want to change Directory when running Program <Y/N> : n_
GRASPRT will view files anywhere with the path specified with the
filename, so a 'N'o answer is fine. If set to 'Y'es the SVE program
will change directories, run the program, and then change back to the
original directory. This change can even be done across drives with no
problems. Next lines will set the program to use.
If quiting and no Extention is set Enter your Default Viewer or Editor.
Enter Program to run with files that have the Extention GL : _
To view files with the GL extention the program to run is GRASPRT. So
lets enter it.
If quiting and no Extention is set Enter your Default Viewer or Editor.
Enter Program to run with files that have the Extention GL : grasprt
That sets up the viewer to view GL animation files. When entering the
programs you can include switches need by the program like so.
If quiting and no Extention is set Enter your Default Viewer or Editor.
Enter Program to run with files that have the Extention MOD : mp -i
The next lines will ask you to confirm that all information is correct.
Program : GRASPRT to be run with File Extention : GL
With Directory Change enabled : N
Is this correct <Y/N> : _
If you answer 'Y'es the information is written to the file and the screen
is cleared and you continue to the next setup. If you answer 'N'o the
information is NOT written to the file and you continue with the setup.
After entering all of the viewers that you want to setup, press enter
without entering an extension.
Just press enter to quit
Enter File Extension to be searched for ( as GIF ) : _
You will then see the following line. You should enter your default
viewer such as LIST.
Quitting ... Enter Default Viewer/Editor Program : list
You will then be asked to confirm the Default Program.
Default Viewer/Editor Program : LIST
Is this correct <Y/N> : Y
If you answer 'N'o the information is NOT written to the file and you
continue with the setup. If you answer 'Y'es the data will be written
and the file closed. Showing the following line.
Text Written to File
You will then be returned to the DOS prompt and the SVIEW.DAT file is
complete. If you made a mistake you can use a ASCII text editor to edit
the DAT file. All letters must be in uppercase.
Here is a sample SVIEW.DAT file.
EXT : GL If this extension
DIR : N 'Y' to change directories
PRG : GRASPRT Run this program
EXT : FLI
DIR : N 'N' to not change directories
PRG : QUICKFLI
EXT : PCX
DIR : N
PRG : VPIC
EXT : BAS
DIR : Y
PRG : QBASIC
EXT : If the tested Extension fails the
DIR : N
PRG : LIST Default Viewer Program will be run
As you can see you can run programs from here also. See the .BAS
extension and the program QBASIC. Using this you can view the Basic
program or even run it.
The making of the SEDIT.DAT is done the same way. You just
substitute SEDIT.DAT for SVIEW.DAT. And use Editing programs instead
of Viewer programs.
Once the DAT files and SHEZ is set up to use SVE as you are looking at
the files either listed in the normal directory listing or on the inside
of the Archive press <CTRL>-ENTER. The file will be extracted if inside
of an archive or just viewed otherwise, SVE will run and hopefully this
will run the appropriate viewer. The SVE editor works when you select a
file to edit using 'F8' on the inside of an archive.
Credits, Thanks and Other :
Thanks to Jim Derr author of the greatest archive shell ever SHEZ.
California Software Design
Jim Derr
P.O. BOX 15248
Santa Rosa, Ca. 95402
CSERVE ID 76266,2634
(707) 575-9868
SVE.EXE - SVEDATMK.EXE : Copyrighted 9/3/1992 by Terry Meritt
These programs are public domain but please do not alter. There is no
Registration fee, but donations are welcomed.
If you have suggestions, comments or donations can be sent to.
Terry Meritt
906 Hillcrest Dr.
Enid, OK 73701
or leave a message to me on.
D&D Computer Services BBS
Beaumont, TX
(409) 899-4573
14.4K baud USR DS, HST
I hope that these programs will prove useful to at least a few of you
out there. If you have any sugguestions for improving or adding more
features drop me a note at the above address or leave a message on the
BBS.
These Programs where written using Turbo Pascal 6.0. If you want
a copy of the source code send a disk with enough money to cover return
shipping and I will send you a copy. If anyone out there knows of a way
to incorporate the DAT files directly into the EXE let me know. I
would like to be able to set the EXT and Programs directly into the EXE
but still enable the user to set his own extensions and programs.
Terry Meritt